package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.jlkf.pojo.OrderItems;
import com.jlkf.view.OrderItemsAndDriver;

public interface OrderItemsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderItems record);

    int insertSelective(OrderItems record);

    OrderItems selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderItems record);

    int updateByPrimaryKey(OrderItems record);
    //订单详情
    List<OrderItems> getOrderItems(Map<String,Object> map);
    
    Integer getDriverOrderCount(Map<String,Object> map);
    
    OrderItemsAndDriver getOrderDetail(Map<String,Object> map);
    //查询生成订单最大号
   String selectMaxOrderNo(@Param("timess")String timess);
   //通过订单号查询订单
   OrderItems selectOrderByNo(String orderNo);
   //网站的我是乘客订单详情
   List<OrderItems> websiteOrderDetails(Map<String,Object> map);
    
    
}